package com.aoip.telemetry.telemetry.configureui.business.order.send.service;

import com.aoip.telemetry.telemetry.entity.equipment.QuerySetOrderEntity;
import com.aoip.telemetry.telemetry.entity.equipment.StOnlineStatusEntity;

import java.util.List;

/**
 * @author chenbai
 * @version 1.0
 * @date 2022/2/23 14:32
 */
public interface OrderSendService {

    /**
     * 查询设备在线状态列表数据
     *
     * @param entity 设备在线状态实例
     * @return java.util.List<com.aoip.telemetry.telemetry.entity.equipment.StOnlineStatusEntity>
     * @author chenbai
     * @date 2022/2/22
     **/
    List<StOnlineStatusEntity> list(StOnlineStatusEntity entity);

    /**
     * 指令构建
     *
     * @param msgList 用户输入部分报文信息
     * @param orderId 指令模板id
     * @param stCode  测站编码
     * @return com.aoip.telemetry.telemetry.entity.equipment.QuerySetOrderEntity
     * @author chenbai
     * @date 2022/7/6
     **/
    QuerySetOrderEntity generateOrder(List<String> msgList, String orderId, String stCode);

}
